package hjj.dwr;

import hjj.service.LoginManager;
import model.User;

public class LoginCheck {
	public String loginCheck(String username,String password) {
		LoginManager lm = new LoginManager();
		User user = lm.loginCheck(username, password);
		if(user!=null){
			return "登录成功";
		}
		return "";
	}
}
